home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / ALTMPX35.ZIP / MULTIPLX.1ST < prev   
Text File  |  1992-09-12  |  3KB  |  48 lines

  1. ALTERNATE MULTIPLEX INTERRUPT SPECIFICATION
  2.  
  3. The other file in this archive, ALTMPX.TXT, contains a proposal for an
  4. alternative multiplex interrupt to supplement INT 2Fh.
  5.  
  6. The existing multiplex interrupt suffers from a number of problems.
  7. First, there is no real standard for the installation check; although
  8. the convention is to use subfuntion 00h as the installation check and
  9. return AL=FFh if installed, many programs ignore this convention or
  10. destroy additional registers which the caller may expect to remain
  11. unchanged.  Second, and more seriously, there is no way to determine
  12. *which* program has hooked a particular multiplex number, though there
  13. are a number of ad hoc solutions attempting to address the problem. As
  14. the number of programs using INT 2Fh grows, the number of conflicts
  15. between programs using the same multiplex number increases; with no
  16. standardized method for determining the actual user of a multiplex
  17. number, it becomes likely that a program will issue INT 2Fh calls which
  18. are actually processed by a different (unexpected) program, leading to
  19. unexpected or undesired results.  Finally, a number of systems make very
  20. frequent calls to INT 2Fh and are thus slowed by the increasing length
  21. of the INT 2Fh chain; for example, network redirectors using INT
  22. 2Fh/AH=11h, CD-ROMs using INT 2Fh/AH=15h, and DESQview using INT
  23. 2Fh/AH=DEh.  Offloading many of the current INT 2Fh users onto an
  24. alternate interrupt will increase the performance of those programs.
  25.  
  26. The alternate multiplex interrupt proposal addresses these problems by
  27. providing a standardized installation check and standardized method for
  28. determining the user of a multiplex number, and providing a standardized
  29. method for callers to determine an entry point with which to bypass the
  30. interrupt chain if performance is important.  This installation check
  31. will allow up to 256 arbitrary TSRs following the specification to be
  32. loaded simultaneously without conflicts, more than enough for the
  33. foreseeable future.  Since the programs following this proposal will not
  34. be using INT 2Fh for their programming interface, the third problem
  35. outlined above is also addressed.  Finally, the alternate multiplex
  36. interrupt specification has been tailored to minimize the amount of code
  37. and data required in the resident portion of the TSR; a minimal
  38. implementation requires less than 80 bytes while a full implementation
  39. will use an estimated 350-500 bytes.
  40.  
  41.  
  42.     Ralf Brown                 [valid until November 1, 1993]
  43.     813 Copeland Way, Suite 26
  44.     Pittsburgh, PA 15232
  45.  
  46.     ralf+@cs.cmu.edu
  47.     Ralf Brown 1:129/26.1
  48.